package com.bw.z.mvp.contract;

import com.bw.z.mvp.model.entity.BaseEntity;
import com.bw.z.mvp.base.model.IModel;
import com.bw.z.mvp.base.view.IView;
import com.bw.z.mvp.model.entity.LoginEntity;

import java.util.Map;

import io.reactivex.Observable;

public interface LoginContract {
    interface loginModel extends IModel {
        Observable<BaseEntity> requestLogin(Map<String, Object> loginMap);
    }

    interface loginView extends IView {
        void refreshLogin(LoginEntity loginEntity);
    }
}
